home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / asm / valarrow.zip / VAL.DOC < prev    next >
Text File  |  1995-04-19  |  5KB  |  131 lines

  1.  
  2.   +-------------------------------------------------------------------------+
  3.   |                                                                         |
  4.   |  This program is released to the public domain by the author on         |
  5.   |  February 15, 1989 at the Software Development Conference,              |
  6.   |  San Francisco, CA.  With the understanding that there are no           |
  7.   |  warranties of any sort either expressed or implied, you may use the    |
  8.   |  code in whole or part for any lawful purpose.  The author does not     |
  9.   |  warrant or guarantee that this code is fit for any particular purpose. |
  10.   |  You are under no obligation to acknowledge the author when using this  |
  11.   |  code, but you may do so if you desire.  The author neither seeks nor   |
  12.   |  desires any contributions for this code.                               |
  13.   |                                                                         |
  14.   |  Should you desire to communicate with the author, the preferred method |
  15.   |  is via the author's bulletin board, Pontchippi.  Pontchippi is an      |
  16.   |  OPUS board.  You may contact it directly at 504-244-1417 or via net    |
  17.   |  mail to node 390/105.  The board has a 9600 baud US Robotics Courier   |
  18.   |  HST modem.  Should you contact the board directly, access to the board |
  19.   |  is granted immediately up completion of a very simple questionnaire.   |
  20.   |                                                                         |
  21.   |  The author wishes to acknowledge and thank Jack Purdum and Tim Leslie  |
  22.   |  of Ecosoft for their assistance and support.  In addition to Jack and  |
  23.   |  Tim, Steve Russell of SLR Systems was also of invaluable assistance.   |
  24.   |  All helped in this project by debugging and offering their expert      |
  25.   |  advice and guidance.  They always had time for me seemingly whenever   |
  26.   |  I requested it.                                                        |
  27.   |                                                                         |
  28.   |  Finally, this program is dedicated to the memory of my father-in-law,  |
  29.   |  Mariano "Val" Valentino.  The only request the author makes for        |
  30.   |  using the program is that the program name be left as "VAL" in his     |
  31.   |  memory.                                                                |
  32.   |                                                                         |
  33.   |  David Troendle                                                         |
  34.   |  New Orleans, LA                                                        |
  35.   |  February 10, 1989                                                      |
  36.   |                                                                         |
  37.   +-------------------------------------------------------------------------+
  38.  
  39. Toad Hall Notes:
  40.  
  41. VAL.EXE is an undocumented linker.  Since the authors didn't send any
  42. documentation, we'll have to figure it out ourselves.  I've done a little,
  43. and hopefully others will contribute to the fund of knowledge.  Email me
  44. whatever you learn and I'll continue to update VAL.DOC.
  45.  
  46.  
  47. From V.BAT:
  48.     asm  ted1 ted1 nul nul
  49.     val /co ted1, , , ,
  50.  
  51. If you enter no command line at all (or missing parameters),
  52. VAL queries you for
  53.  
  54.     OBJ file(s):
  55.     EXE file[d:\name.exe]:
  56.     LST file:
  57.     LIB file(s):
  58.  
  59. So you can designate the file names for output, *and* the names of any
  60. (assumably MASM-compatible) .LIBs you wish to use.  It looks like the
  61. command line syntax would be:
  62.  
  63. val /co ted1, , , ,
  64.  
  65. Syntax: VAL objfiles, exefile, mapfile, libfiles, ???file
  66.  
  67. Command line switches:
  68.  
  69. From what I've been able to figure out via experimentation:
  70.  
  71.     /co        produces .COM executable
  72.     /map        produces .MAP file
  73.  
  74.  
  75. A dump of text within VAL.EXE revealed interesting words (possible
  76. commandline switches or parameters) :
  77.  
  78.     alignexeheader
  79.     buffersize
  80.     caseignore
  81.     comfile
  82.     cparmaxalloc
  83.     detaillevel
  84.     dosseg
  85.     exechecksum
  86.     grouphashsize
  87.     lnamehashsize
  88.     maxexternals
  89.     maxgroups
  90.     maxlnames
  91.     maxsegments
  92.  
  93. which just might correlate with these error messages:
  94.  
  95.  Error:  Too many externals.  Max of %u exceeded.
  96.          Retry with larger "/maxexternals:n" switch.
  97.  
  98.  Error:  Too many GRPDEFs.  Max of %u exceeded.
  99.          Retry with larger "/maxgroups:n" switch.
  100.  Error:  Too many LNAMES.  Max of %u exceeded.
  101.          Retry with larger "/maxlnames:n" switch.
  102.  
  103.  Error:  Too many SEGDEFs.  Max of %u exceeded.
  104.          Retry with larger "/maxsegments:n" switch.
  105.  
  106. Try running again with smaller buffersize and/or
  107. virtualized fixup processing.
  108.  
  109.  
  110. [Some other possible switches:]
  111.  
  112.     noalignexeheader
  113.     nocaseignore
  114.     nocomfile
  115.     nodosseg
  116.     noexechecksum
  117.     nomap
  118.     noobjchecksum
  119.     nopackcode
  120.     nopause
  121.     nosysfile
  122.     nostatistics
  123.     order
  124.     publichashsize
  125.     segmenthashsize
  126.  
  127.  
  128. David Kirschbaum
  129. Toad Hall
  130. kirschd@hq.ljl.com
  131.